package com.javacrafting.mifos.domain;

import java.util.Date;
import java.util.Set;

public class AccountImpl implements Account
{
	private Integer id;
	private Short accountType = Short.valueOf("2");
	private Short createdBy = Short.valueOf("1");
	private Date createdDate = new Date();
	private Short offsettingAllowable = Short.valueOf("1");
	private Set<AccountStatusChangeHistory> accountStatusChangeHistory;
	
	public AccountImpl() {
		// default constructor for hibernate
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Short getCreatedBy()
	{
		return createdBy;
	}

	public void setCreatedBy(Short createdBy)
	{
		this.createdBy = createdBy;
	}

	public Date getCreatedDate()
	{
		return createdDate;
	}

	public void setCreatedDate(Date createdDate)
	{
		this.createdDate = createdDate;
	}

	public Short getOffsettingAllowable()
	{
		return offsettingAllowable;
	}

	public void setOffsettingAllowable(Short offsettingAllowable)
	{
		this.offsettingAllowable = offsettingAllowable;
	}

	public Short getAccountType()
	{
		return accountType;
	}

	public void setAccountType(Short accountType)
	{
		this.accountType = accountType;
	}

	public Set<AccountStatusChangeHistory> getAccountStatusChangeHistory()
	{
		return accountStatusChangeHistory;
	}

	public void setAccountStatusChangeHistory(Set<AccountStatusChangeHistory> accountStatusChangeHistory)
	{
		this.accountStatusChangeHistory = accountStatusChangeHistory;
	}
}
